﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TomatoClock.Models
{
    public class Data
    {
        public int UserId {  get; set; }
        public List<Achievement> Achievements { get; set;}
        public int TomatoNum {  get; set; }//每日收成
        public int TomatoNumSum {  get; set; }//总收成
        public int TomatoNumWeekly {  get; set; }//每周收成
        public double FocusTime {  get; set; }//每日专注时间
        public double FocusTimeWeekly { get; set; }//每周专注时间
        public double FocusTimeSum { get; set; }//总专注时间
        public int TaskNum {  get; set; }
        public int TaskNumWeekly { get; set; }
        public int TaskNumSum {  get; set; }
        public int InterruptNum {  get; set; }//每日打断次数
        public int InterruptNumWeekly { get; set; }
        public int InterruptNumSum { get; set; }
        public DateTime StartTime {  get; set; } //数据开始时间

        
        public Data() {
            Achievements = new List<Achievement>();
            StartTime = DateTime.Now;
            
        }

    }
}
